import fetch from '@/requests/fetch'
// 等级分页
export const getLevelPage = (data) => fetch('post', '/api/erp/sassMemberLevelConfig/list', data)
// 等级新增
export const addLevel = (data) => fetch('post', '/api/erp/sassMemberLevelConfig/add', data)
// 等级编辑
export const updateLevel = (data) => fetch('post', '/api/erp/sassMemberLevelConfig/update', data)
// 等级删除
export const deleteLevel = (data) => fetch('delete', '/api/erp/sassMemberLevelConfig/delete', data)

// 等级分页 /api/erp/sassMember/page /api/erp/sassMember/page
export const getsassMemberPage = (data) => fetch('post', '/api/erp/sassMember/page', data)
